package cn.springcloud.fix.stomp.component;

import java.security.Principal;

public class WsPrincipal implements Principal {

    final private String loginName;

    public WsPrincipal(String loginName) {
        this.loginName = loginName;
    }

    @Override
    public String getName() {
        return loginName;
    }
}
